package com.ayu.shortlink.admin.service.basics.excel.data;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 生成Excel的元数据
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ExcelGenerateBaseData {

    @ColumnWidth(30)
    @ExcelProperty("用户ID")
    private String userId;

    @ColumnWidth(20)
    @ExcelProperty("手机号")
    private String phone;

    @ColumnWidth(30)
    @ExcelProperty("邮箱")
    private String mail;
}
